<template>
  <div>
    <!-- 面包屑 -->
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{level1}}</el-breadcrumb-item>
      <el-breadcrumb-item>{{level2}}</el-breadcrumb-item>
      <el-breadcrumb-item>
          <slot name="right"></slot>
      </el-breadcrumb-item>
    
       
      
      
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  props:{
    level1:{
      type:String,
      default:"商品管理"
    },
    level2:{
      type:String,
      default:"商品列表"
    },
    level3:{
      type:String,
      default:"添加商品"
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
</style>